<div class="blockcms" id="main_content">
    <link rel="stylesheet" href="<?php echo JS_PATH;?>/jquery/slideform/css/style.css" type="text/css" media="screen">
    <style>
        fieldset h3{margin-left:15px}
    </style>
    <script type="text/javascript" src="<?php echo JS_PATH;?>/jquery/slideform/js/sliding.js"></script>
            <div id="wrapper">
                <div id="steps">
                    <form id="formElem" name="formElem" action="" method="post">
                        <fieldset class="step">
                            <?php
                            $arr_title = array($this->translate->_('Map'));
                            ?>
                            <div class="blocktitle">
                                <h3><?=$arr_title[0]?></h3>
                            </div>
                            
                            <div id="gmap" style="width: 566px; height: 350px;margin-left:15px"></div>
                        </fieldset>
                        <fieldset class="step">
                            <div>
                            <?php
                            $config = Vnf::getConfigs('conf');
                            $restaurant_slide = @$config->restaurantslide;
                            if ($restaurant_slide > 0) {
                                $allCategory = $this->allCategory;
                                $restaurant = @$allCategory[$restaurant_slide];
                            ?>
                                <div class="blocktitle">
                                    <h3>
                                    <?php
                                    $arr_title[1] = $restaurant['admin_title'];
                                    echo $restaurant['admin_title'];
                                    ?>
                                    </h3>
                                </div>
                                <div id="restaurantcontainer" style="margin-left:15px;"><a href="">Get the Flash Player</a> to see this.</div>
                                <script type="text/javascript">
                                    var s1 = new SWFObject("<?=JS_PATH?>/imagerotator.swf","rotator","570","354","3");
                                    s1.addParam("allowfullscreen","true");
                                    s1.addVariable("file","<?=BASE_URL?>/index/index/imgcatgallery/?cid=<?=$restaurant_slide?>");
                                    s1.addVariable("width","566");
                                    s1.addVariable("height","350");
                                    s1.addParam("wmode", "transparent");
                                    s1.write("restaurantcontainer");
                                </script>
                            <?php
                            }
                            ?>
                                    
                            <div style="clear:both  "></div>
                            </div>
                        </fieldset>
                        <fieldset class="step">
                            <?php
                            $config = Vnf::getConfigs('conf');
                            $food_slide = @$config->foodslide;
                            if ($food_slide > 0) {
                                $allCategory = $this->allCategory;
                                $food = @$allCategory[$food_slide];
                            ?>
                                <div class="blocktitle">
                                    <h3>
                                    <?php
                                    $arr_title[2] = $food['admin_title'];
                                    echo $food['admin_title'];
                                    ?>
                                    </h3>
                                </div>
                                <div id="foodcontainer" style="margin-left:15px;"><a href="">Get the Flash Player</a> to see this.</div>
                                <script type="text/javascript">
                                    var s1 = new SWFObject("<?=JS_PATH?>/imagerotator.swf","rotator","566","350","3");
                                    s1.addParam("allowfullscreen","true");
                                    s1.addVariable("file","<?=BASE_URL?>/index/index/imgcatgallery/?cid=<?=$food_slide?>");
                                    s1.addVariable("width","566");
                                    s1.addVariable("height","350");
                                    s1.addParam("wmode", "transparent");
                                    s1.write("foodcontainer");
                                </script>
                            <?php
                            }
                            ?>
                        </fieldset>
                    </form>
                </div>
                <div id="navigation" style="display:none;">

                    <ul>
                        <li class="selected">
                            <a href="#">
                            <?php
                            echo @$arr_title[0];
                            ?>
                            </a>
                            <span class="checked"></span>
                        </li>
                        <li>
                            <a href="#">
                            <?php
                            echo @$arr_title[1];
                            ?>
                            </a>
                            <span class="checked"></span>
                        </li>
                        <li>
                            <a href="#">
                            <?php
                            echo @$arr_title[2];
                            ?>
                            </a>
                            <span class="checked"></span>
                        </li>
                    </ul>
                </div>
            </div>

</div>

<script type="text/javascript">
    $(document).ready(function() {
        $('fieldset h2').hide();
    });
</script>